﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZX.Web.UI.Controls;

namespace ZX.WebApp.Extend
{
    public partial class MasterDetailList : ListPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            // 权限 
            if (this.UserId == null)
            {
                Response.Redirect("/Error.aspx?message=1&functionId=" + FunctionID);
                return;
            }
            if (!CheckFunctionRight())
            {
                Response.Redirect("/Error.aspx?message=2&functionId=" + FunctionID);
                return;
            }
        }

        public string LeftTable
        {
            get
            {
               return this.GetStringFromQueryString("leftEntity","");
            }
        }
    }
}